package com.it.emall.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 食谱分类
 */
@Data
@TableName("ingredients")
public class Ingredients {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    @TableField("`desc`")
    private String desc;

    private Integer pid;

    private String picUrl;

    private String iconUrl;

    @TableField("`level`")
    private String level;

    @TableField("add_time")
    private Date addTime;

    @TableField("update_time")
    private Date updateTime;

    private Integer deleted;
}
